projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27cd0da
)
imx: mx6: ddr: support i.MX6D/QPlus
author
Peng Fan
<
[email protected]
>
Mon, 23 May 2016 10:35:57 +0000
(18:35 +0800)
committer
Stefano Babic
<
[email protected]
>
Tue, 24 May 2016 12:59:56 +0000
(14:59 +0200)
Support i.MX6D/QPlus.
Signed-off-by: Peng Fan <
[email protected]
>
Cc: Stefano Babic <
[email protected]
>
arch/arm/cpu/armv7/mx6/ddr.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/mx6/ddr.c
b/arch/arm/cpu/armv7/mx6/ddr.c
index 3cc866616a0b46d4c9f64a63f064ed53d3061366..f151eec545ce025834a7a9f0a064a9ff2873aee3 100644
(file)
--- a/
arch/arm/cpu/armv7/mx6/ddr.c
+++ b/
arch/arm/cpu/armv7/mx6/ddr.c
@@
-1200,7
+1200,7
@@
void mx6_ddr3_cfg(const struct mx6_ddr_sysinfo *sysinfo,
mmdc1 = (struct mmdc_p_regs *)MMDC_P1_BASE_ADDR;
/* Limit mem_speed for MX6D/MX6Q */
- if (is_mx6dq()) {
+ if (is_mx6dq()
|| is_mx6dqp()
) {
if (mem_speed > 1066)
mem_speed = 1066; /* 1066 MT/s */
@@
-1219,7
+1219,7
@@
void mx6_ddr3_cfg(const struct mx6_ddr_sysinfo *sysinfo,
* Data rate of 1066 MT/s requires 533 MHz DDR3 clock, but MX6D/Q supports
* up to 528 MHz, so reduce the clock to fit chip specs
*/
- if (is_mx6dq()) {
+ if (is_mx6dq()
|| is_mx6dqp()
) {
if (clock > 528)
clock = 528; /* 528 MHz */
}